<?
include"../cek.php";
include"../sambung.php";
$admin=mysql_query("select * from admin order by id limit 1");
$user2=mysql_fetch_array($admin);
?>
<HTML>
<HEAD>
<meta http-equiv="Content-Language" content="en-us">
<TITLE>Website Cuti Online</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
<style>
<!--
body         { font-family: arial; color: #000080 }
-->
</style>
</HEAD>
<BODY BGCOLOR=#FFFFFF LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0 background="../images/bg.gif">
<center><br>
<TABLE WIDTH=800 BORDER=0 CELLPADDING=0 CELLSPACING=0>
        <TR>
                <TD>
                        <IMG SRC="../images/tkm_01.gif" WIDTH=800 HEIGHT=158 ALT=""></TD>
        </TR>
        <TR>
                <TD>
                        <table border="0" width="100%" cellspacing="0" cellpadding="0" background="../images/tkm_02.gif" id="table1">
                                <tr>
                                        <td width="10">&nbsp;</td>
                                        <td valign="top">
                                        <p align="center"><a href="data_karyawan.php">Lihat Data
                                        Karyawan</a></p>
                                        <p align="center"><a href="input_data.php">Tambah
                                        Data Karyawan</a></p>
                                        <p align="center">Ubah Password</p>
                                        <form method="POST" action="ubah_password.php">
                                                <center>
                                                <table border="1" width="43%" cellspacing="0" cellpadding="0" id="table2">
                                                        <tr>
                                                                <td align="center" colspan="2" bgcolor="#80A6D2">
                                        <p align="center">Ubah User ID dan Password</p>
                                                                </td>
                                                        </tr>
                                                        <tr>
                                                                <td align="right">UserID Baru</td>
                                                                <td align="left">
                                                                <!--webbot bot="Validation" B-Value-Required="TRUE" I-Maximum-Length="10" -->
                                                <input type="text" name="user_baru" size="20" style="color: #000080; font-family: arial; font-size: 12pt" maxlength="10"></td>
                                                        </tr>
                                                        <tr>
                                                                <td align="right">Password BAru</td>
                                                                <td align="left">
                                                                <!--webbot bot="Validation" B-Value-Required="TRUE" I-Maximum-Length="10" -->
                                                <input type="text" name="password_baru" size="20" style="color: #000080; font-family: arial; font-size: 12pt" maxlength="10"></td>
                                                        </tr>
                                                        <tr>
                                                                <td align="right">&nbsp;</td>
                                                                <td align="left">
                                                <input type="submit" value="UBAH" name="submit" style="color: #000080; font-family: arial"></td>
                                                        </tr>
                                                </table>
                                          <input type="hidden" name="id" value="<?echo"$user2[id]"?>">
                                        </form>
                                        <p align="center"><a href="keluar.php">Keluar</a></td>
                                        <td width="15">&nbsp;</td>
                                </tr>
                        </table>
                </TD>
        </TR>
        <TR>
                <TD>
                        <IMG SRC="../images/tkm_05.gif" WIDTH=800 HEIGHT=45 ALT=""></TD>
        </TR>
</TABLE>
</BODY>
</HTML>